package com.mall.mymall.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 十里坡
 * @since 2025-03-24
 */
@Data
public class Refunds implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "refunds_id", type = IdType.AUTO)
    private Integer refundsId;

    private Integer orderId;

    private Integer userId;

    private BigDecimal totalPrice;

    private String orderStatus;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;

    private String description;

    private String auditOpinion;

}
